UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must not accept environment variables from the client.


Overview

Finding ID Version Rule ID IA Controls Severity
V-63217 ESXI-06-000024 SV-77707r1_rule Medium
Description
Environment variables can be used to change the behavior of remote sessions and should be limited. Locate environment variables that specify the language, character set, and other features modifying the operation of software to match the user's preferences.
STIG Date
VMware vSphere ESXi 6.0 Security Technical Implementation Guide 2017-01-06

Details

Check Text ( C-63951r1_chk )
To verify the AcceptEnv setting, run the following command:

# grep -i "^AcceptEnv" /etc/ssh/sshd_config

If there is no output or the output is not exactly "AcceptEnv", this is a finding.
Fix Text (F-69135r1_fix)
To set the AcceptEnv setting, add or correct the following line in "/etc/ssh/sshd_config":

AcceptEnv